-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix solhint rules and adjusted GlacisFacet test file #1043
Conversation
WalkthroughThis pull request disables the Solidity lint rule for empty blocks by changing its configuration in the Changes
Possibly related PRs
Suggested labels
Suggested reviewers
Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🧰 Additional context used🪛 Gitleaks (8.21.2)test/solidity/Facets/GlacisFacet.t.sol446-446: Detected a Generic API Key, potentially exposing access to various services and sensitive operations. (generic-api-key) 462-462: Detected a Generic API Key, potentially exposing access to various services and sensitive operations. (generic-api-key) ⏰ Context from checks skipped due to timeout of 90000ms (2)
🔇 Additional comments (6)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Test Coverage ReportLine Coverage: 78.59% (2041 / 2597 lines) |
Which Jira task belongs to this PR?
Why did I implement it this way?
Disabled the
no-empty-blocks
rule to apply test files where sometestBase_
tests need to be empty (examples:testBase_CanSwapAndBridgeNativeTokens
,testBase_CanBridgeNativeTokens
). Second solution: adding// solhint-disable-next-line no-empty-blocks
to each test could be cumbersome to maintain.Checklist before requesting a review
Checklist for reviewer (DO NOT DEPLOY and contracts BEFORE CHECKING THIS!!!)